The CT UPDATE CHART command updates a chart created from data in the database. This command is the equivalent of the Update menu command in the Chart menu.
This command updates only charts created by the user from fields in the database or programmatically using the CT Chart selection or CT Chart data functions.
The chart is updated using the records in the current selection of the table being graphed.
If displayAlert equals 1, an alert box is presented to the user, who can accept or cancel the action. If displayAlert equals 0, no alert box is presented.
This example changes the selection of the table being graphed and updates the graph to display the changes.